package com.ddddddl.zhangben;

import com.ddddddl.zhangben.logic.ExecuteMessage;
import com.ddddddl.zhangben.logic.Observer;
import com.ddddddl.zhangben.logic.Subject;

import android.app.Activity;

public class BaseActivity extends Activity implements Observer{
	
	@Override
	public void onNotify(ExecuteMessage message) {
	}
	
	protected void listen(Subject subject, int... types) {
		for (int type : types) {
			subject.addListener(this, type);
		}
	}
	
}
